package com.ym.b2b.user.sqlbean;

import java.math.BigDecimal;
import java.util.Date;

import com.ym.b2b.commons.base.Entity;
import com.ym.b2b.commons.conf.WebTokenUser;

public class AgentBuyer extends Entity {

    private static final long serialVersionUID = -1191329714001819102L;

    private String            buyerCode;

    private Long              buyerId;

    private String            chsName;

    private String            engName;

    private String            spell;

    private String            areaCode;

    private String            areaName;

    private String            salesman;

    private String            address;

    private String            zip;

    private String            phone;

    private String            buyProperty;

    private String            note;

    private String            licenseLeader;

    private String            registerAddress;

    private String            leaderName;

    private String            factoryAddress;

    private String            orgNumber;

    private Integer           approveStatus;

    private Long              integralAmount;

    private Long              createUser;

    private Date              createDate;

    private Long              updateUser;

    private Date              updateDate;

    private Integer           isValid;

    private String            productionScope;

    private String            licenseNumber;

    private Date              validStart;

    private Date              validEnd;

    private Date              businessStartDate;

    private Date              businessEndDate;

    private Date              licenseStartDate;

    private Date              licenseEndDate;

    private BigDecimal        creditamount;

    private BigDecimal        creditdays;

    private String            invbankname;

    private String            invaccno;

    private String            invtaxno;

    private String            invaddress;

    private String            invcustomname;

    private String            orgDept;

    private String            licenseDept;

    private String            gspNumber;

    private String            gspDept;

    private Date              gspStart;

    private Date              gspEnd;

    private String            qualityMan;

    private String            licenseAddress;

    private String            examReson;

    private Integer           isBranch;                                // 是否连锁
    private Integer           payType;                                 // 支付类型
    // search
    private String            searchWhere;
    private String            buyerSearchCode;
    private WebTokenUser      user;                                    // 登陆账户信息 如果登陆的话
    private String            orderByType;                             // 搜索条件 根据什么排序
    private String            isMember;                                // 是否拥有登陆账号

    private String            providerCode;                            // 用于供货商设置客户
    private BigDecimal        isAgentProvider;
    private BigDecimal        addBuyer;								   // 1-身份代理可代理所有客户,2-可代理所属客户, 0 厂家业务员,不可代理客户
    private Long              salesmanId;

    public BigDecimal getIsAgentProvider() {
        return isAgentProvider;
    }

    public void setIsAgentProvider(BigDecimal isAgentProvider) {
        this.isAgentProvider = isAgentProvider;
    }

    public BigDecimal getAddBuyer() {
        return addBuyer;
    }

    public void setAddBuyer(BigDecimal addBuyer) {
        this.addBuyer = addBuyer;
    }

    public Long getSalesmanId() {
        return salesmanId;
    }

    public void setSalesmanId(Long salesmanId) {
        this.salesmanId = salesmanId;
    }

    public String getProviderCode() {
        return providerCode;
    }

    public void setProviderCode(String providerCode) {
        this.providerCode = providerCode;
    }

    public String getBuyerCode() {
        return buyerCode;
    }

    public void setBuyerCode(String buyerCode) {
        this.buyerCode = buyerCode;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getChsName() {
        return chsName;
    }

    public void setChsName(String chsName) {
        this.chsName = chsName;
    }

    public String getEngName() {
        return engName;
    }

    public void setEngName(String engName) {
        this.engName = engName;
    }

    public String getSpell() {
        return spell;
    }

    public void setSpell(String spell) {
        this.spell = spell;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBuyProperty() {
        return buyProperty;
    }

    public void setBuyProperty(String buyProperty) {
        this.buyProperty = buyProperty;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getLicenseLeader() {
        return licenseLeader;
    }

    public void setLicenseLeader(String licenseLeader) {
        this.licenseLeader = licenseLeader;
    }

    public String getRegisterAddress() {
        return registerAddress;
    }

    public void setRegisterAddress(String registerAddress) {
        this.registerAddress = registerAddress;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public String getFactoryAddress() {
        return factoryAddress;
    }

    public void setFactoryAddress(String factoryAddress) {
        this.factoryAddress = factoryAddress;
    }

    public String getOrgNumber() {
        return orgNumber;
    }

    public void setOrgNumber(String orgNumber) {
        this.orgNumber = orgNumber;
    }

    public Long getIntegralAmount() {
        return integralAmount;
    }

    public void setIntegralAmount(Long integralAmount) {
        this.integralAmount = integralAmount;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getProductionScope() {
        return productionScope;
    }

    public void setProductionScope(String productionScope) {
        this.productionScope = productionScope;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public Date getValidStart() {
        return validStart;
    }

    public void setValidStart(Date validStart) {
        this.validStart = validStart;
    }

    public Date getValidEnd() {
        return validEnd;
    }

    public void setValidEnd(Date validEnd) {
        this.validEnd = validEnd;
    }

    public Date getBusinessStartDate() {
        return businessStartDate;
    }

    public void setBusinessStartDate(Date businessStartDate) {
        this.businessStartDate = businessStartDate;
    }

    public Date getBusinessEndDate() {
        return businessEndDate;
    }

    public void setBusinessEndDate(Date businessEndDate) {
        this.businessEndDate = businessEndDate;
    }

    public Date getLicenseStartDate() {
        return licenseStartDate;
    }

    public void setLicenseStartDate(Date licenseStartDate) {
        this.licenseStartDate = licenseStartDate;
    }

    public Date getLicenseEndDate() {
        return licenseEndDate;
    }

    public void setLicenseEndDate(Date licenseEndDate) {
        this.licenseEndDate = licenseEndDate;
    }

    public BigDecimal getCreditamount() {
        return creditamount;
    }

    public void setCreditamount(BigDecimal creditamount) {
        this.creditamount = creditamount;
    }

    public BigDecimal getCreditdays() {
        return creditdays;
    }

    public void setCreditdays(BigDecimal creditdays) {
        this.creditdays = creditdays;
    }

    public String getInvbankname() {
        return invbankname;
    }

    public void setInvbankname(String invbankname) {
        this.invbankname = invbankname;
    }

    public String getInvaccno() {
        return invaccno;
    }

    public void setInvaccno(String invaccno) {
        this.invaccno = invaccno;
    }

    public String getInvtaxno() {
        return invtaxno;
    }

    public void setInvtaxno(String invtaxno) {
        this.invtaxno = invtaxno;
    }

    public String getInvaddress() {
        return invaddress;
    }

    public void setInvaddress(String invaddress) {
        this.invaddress = invaddress;
    }

    public String getInvcustomname() {
        return invcustomname;
    }

    public void setInvcustomname(String invcustomname) {
        this.invcustomname = invcustomname;
    }

    public String getOrgDept() {
        return orgDept;
    }

    public void setOrgDept(String orgDept) {
        this.orgDept = orgDept;
    }

    public String getLicenseDept() {
        return licenseDept;
    }

    public void setLicenseDept(String licenseDept) {
        this.licenseDept = licenseDept;
    }

    public String getGspNumber() {
        return gspNumber;
    }

    public void setGspNumber(String gspNumber) {
        this.gspNumber = gspNumber;
    }

    public String getGspDept() {
        return gspDept;
    }

    public void setGspDept(String gspDept) {
        this.gspDept = gspDept;
    }

    public Date getGspStart() {
        return gspStart;
    }

    public void setGspStart(Date gspStart) {
        this.gspStart = gspStart;
    }

    public Date getGspEnd() {
        return gspEnd;
    }

    public void setGspEnd(Date gspEnd) {
        this.gspEnd = gspEnd;
    }

    public String getQualityMan() {
        return qualityMan;
    }

    public void setQualityMan(String qualityMan) {
        this.qualityMan = qualityMan;
    }

    public String getLicenseAddress() {
        return licenseAddress;
    }

    public void setLicenseAddress(String licenseAddress) {
        this.licenseAddress = licenseAddress;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getIsBranch() {
        return isBranch;
    }

    public void setIsBranch(Integer isBranch) {
        this.isBranch = isBranch;
    }

    public String getExamReson() {
        return examReson;
    }

    public void setExamReson(String examReson) {
        this.examReson = examReson;
    }

    public String getSearchWhere() {
        return searchWhere;
    }

    public void setSearchWhere(String searchWhere) {
        this.searchWhere = searchWhere;
    }

    public String getBuyerSearchCode() {
        return buyerSearchCode;
    }

    public void setBuyerSearchCode(String buyerSearchCode) {
        this.buyerSearchCode = buyerSearchCode;
    }

    public String getOrderByType() {
        return orderByType;
    }

    public void setOrderByType(String orderByType) {
        this.orderByType = orderByType;
    }

    public WebTokenUser getUser() {
        return user;
    }

    public void setUser(WebTokenUser user) {
        this.user = user;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getIsMember() {
        return isMember;
    }

    public void setIsMember(String isMember) {
        this.isMember = isMember;
    }

}
